package com.azxc.rapid.auth.bean;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @program: system
 * @description: 令牌刷新参数
 * @author: SQG
 * @create: 2021-10-21 17:34
 **/
@Data
public class TokenRefreshParam implements Serializable {

	@NotBlank(message = "授权类型不能为空")
	private String grant_type;

	@NotBlank(message = "范围不能为空")
	private String scope;

	@NotBlank(message = "租户id不能为空")
	private String tenantId;

	@NotBlank(message = "refresh_token不能为空")
	private String refresh_token;
}
